package com.iot.tob.platform.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alex Wu
 * @since 2025-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("device_field")
public class DeviceField implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long appId;

    private Long fieldParentId;

    private String fieldKey;

    /**
     * string,int,long,decimals(小数后两位)
     */
    private String fieldStyle;

    /**
     * 单位值
     */
    private String fieldUnit;


}
